//
//  XSCollectionCell.m
//  ShopDemo
//
//  Created by Sunshine on 2018/8/13.
//  Copyright © 2018年 飞扬的青春. All rights reserved.
//

#import "XSCollectionCell.h"

@implementation XSCollectionCell



- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        UILabel *lab = [UILabel new];
        self.titlab = lab;
        lab.font = [UIFont systemFontOfSize:16*kJLXWidthScale];
        lab.textColor = [UIColor orangeColor];
        lab.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:lab];
        lab.sd_layout
        .topSpaceToView(self.contentView, 0)
        .bottomSpaceToView(self.contentView, 0)
        .leftSpaceToView(self.contentView, 0)
        .rightSpaceToView(self.contentView, 0);
    }
    return self;
}


@end
